package com.hualan.mapper;

import com.hualan.domain.Fm1;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author Chen
* @description 针对表【fm(FM表，用于存储音频节目信息)】的数据库操作Mapper
* @createDate 2024-09-09 16:19:40
* @Entity com.hualan.domain.Fm1
*/
public interface FmMapper1 {

    int deleteByPrimaryKey(Long id);

    int insert(Fm1 record);

    int insertSelective(Fm1 record);

    Fm1 selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Fm1 record);

    int updateByPrimaryKey(Fm1 record);

    List<Fm1> selectAll();

    List<Fm1> selectAllByPage(@Param("page") Integer page, @Param("size") Integer size);

    int totalPage();

    List<Fm1> selecLikeName(String name);
}
